package com.logic.landseaserver.domain;

import java.util.Date;

public class News extends Record{
	//新增id不传
    private Integer id;

    private String wid;
    //类型(新闻-NEW，大事记-MEMORABILIA，招采-RECRUIT)
    private String type;
    //标题
    private String title;
    //概述
    private String overview;
    //日期（日期类型的）
    private Date date;
    //图片id
    private Integer picture;
    //文件id
    private Integer fileId;
    //发布传1，取消发布传0
    private Boolean status;
    //内容（类型为大事记时存内容，类型为新闻或者招采时存url）
    private String content;
    //只有类型是招采时这个字段才传（采购类 -PURCHASING） （广告类-ADCERTISING）（这个客户没有确定有什么类型，我暂时定的这个）
    private String recruitType;

    public Integer getFileId() {
		return fileId;
	}

	public void setFileId(Integer fileId) {
		this.fileId = fileId;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWid() {
        return wid;
    }

    public void setWid(String wid) {
        this.wid = wid == null ? null : wid.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getOverview() {
        return overview;
    }

    public void setOverview(String overview) {
        this.overview = overview == null ? null : overview.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getPicture() {
		return picture;
	}

	public void setPicture(Integer picture) {
		this.picture = picture;
	}

	public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getRecruitType() {
        return recruitType;
    }

    public void setRecruitType(String recruitType) {
        this.recruitType = recruitType == null ? null : recruitType.trim();
    }
}